package com.junjie.checkin.request.auth;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @author 洪浚杰
 * @description
 * @date 2025/6/9 20:09
 */
@Data
@AllArgsConstructor
@Schema(description = "更新令牌的数据")
public class RefreshRequest {
    @Schema(description = "更新令牌的用户")
    @NotNull
    private Integer userId;
    @Schema(description = "刷新令牌")
    @NotEmpty
    private String refresh;
}
